package com.easygo.mapper;

import com.xuexi.easygo.pojo.LoginLog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LoginLogMapper {
    int addLoginLog(LoginLog log);

    /*
    * 获取登录人的日志，最近的十次的日志
    * */
    List<LoginLog> getMyLoginLogs(String username);
}
